jshint error resolution