RequireJS/Jasmine compatibility fix.