use var to kill jshint error