Made lib JS Lint compliant