jshint; reset method