Fixes problems with Jasmine runner.