jshint corrections