So don't, but then when the government wants some user you have, they'll ask you to modify the code so the JS
does access their data and send it back to you. Comply or shutdown.
My understanding is that in the bit mail case, the government didn't just ask for data. They also asked for code to be modified. So really, any technical solution done by coding, well, the government can just ask you to un-code it.