Fix JSLint warnings.
Add minified version with Closure Compiler.