Finally got jasmine working with requirejs and non amd scripts