You cannot hide the code but you can OBFUSCATE the code,
which will make it very difficult for a human to read.
[Warning: A dedicated and skilled programmer can still decode the OBFUSCATED code,
but it is an extremely tedious task and is generally avoided by all.]
Here are some link to pages that can obfuscate your code.
For best results use a combination of them.
http://dean.edwards.name/packer/[
^]
http://www.javascriptobfuscator.com/[
^]
http://refresh-sf.com/yui/[
^]