Make sure jshint checks all js files
Also, update all the files to pass jshint.
Merge pull request #1713 from gkatsev/jshint-all-the-things

Make sure jshint checks all js files