jquerified the functions
Merge pull request #22 from jacshfr/jjsquery

jquerified the functions