added error to js file for jshint reporting