update .travis.yml
Add lint script.
Add .jshintignore for lint.
Fix for jshint errors.