fixed failing jasmine specs