Possible Duplicate:
How can I obfuscate JavaScript?
I want to "protect" my Javascript code. Are there any good, recommended ways which are very difficult to hack?
I tested some encoder on the Web and sometimes my Javascript code doesn't work after encoding. Is this normal (cot the encoder is very bad)?... or is my code too bad/buggy?