This is basically what you have to deal with when using javascript on the client side. Of course, you can use the obfuscating minifier for your final download file to try and redo it a little harder, but still don't get around the fact that you have an open source working file.