Almost all Javascript minifiers will obfuscate the code to a certain level. All whitespace and superfluous identifiers, brackets will be stripped and variables and function names are replaced by a single character, e.g. var a
and function b()
instead of var countryDropdown
and function changeCountry()
. You can use under each JSMIN and YUI Compressor for this.
An example of minified JS can be found here ("full" version here).
This however doesn't prevent users from reverse-engineering the code using smart IDE's with find&replace and renaming tools. So you'd live with it. Minifying is often just done to save the network bandwidth.
If it interests you, we use YUI Compressor here and have good experience with it.