removed global var from jshint