jshint check for undefined variables