* define some variables which had been left undefined
* tell jshint about some globals which are available between files