reduce jshint errors