fix #261 adjusted jquery event interfaces
Merge pull request #263 from Diullei/master

Fix #261 - adjusted jquery event interfaces