jslint/jshint corrections