NEON-1230: setting up jshint and cleaning up a lot of minor jshint violations.