resolve jshint errors