jasmine spy helper: better way to attach helper functions

(?)