Make sure jshint checks all js files

Also, update all the files to pass jshint.