Ignore generated file.
Add jslint support.

- run on all js files.
- ignore generated files.
- ignore "is better written in dot notation" errors due to extensive use
  of that style.
Fix minor jshint issues.