added jshint/jslint comments/directives