removed unneeded global defs from jshint