fix jasmine-jquery errors