Fix function names for jasmine event spying