Add support for optional event data.
Merge pull request #1916 from DavidRogers/master

JQuery: Add support for optional event data.