Fix for typos in Jasmine spec