Modified jshint for jsapi