Why to obfuscate scripts?
Today there are many complex rich internet applications on the web. Some of these applications are commercial and not all authors want to share their secrets for free. Obfuscation is very similar to encryption. The goal is the same: cracking of the cipher must be more expensive than ciphered information itself. Also obfuscated files are much smaller than non-obfuscated because obfuscation is side effect of optimization.