jshint error cleanup