added requirejs and made jasmine happy with requirejs