jshint - fail handling