Adds support for handleEvent in jQuery