Fixes jasmine timout errors in Travis CI