move jasmine jquery helpers
define functions as local variables, then stick into Jasmine env

lets RubyMine pick up on these functions
jasmine .toHaveOwnProperty() matcher