fixed "nonew" in jshint