Remove jshint:laxbeak, use Globals.register for test