turns on jshint and fixes violations