Changed  to take JQuery as parameter in callback
Merge pull request #3 from pseudonom/onFix

Changed  to take JQuery as parameter in callback
Added more needed jQuery functions