global var added to jshint and removed from files