fix jasmine specs