jshint script fixes