Attempt to fix jasmine errors on travis