removed globals from jshint