jshint resolve error