You need to make this visible globally to jshint, otherwise it will complain about this. See the top of the file for examples