switched to jQuery reliance

(was originally going to work both standalone and as a jQuery plugin)