Compatibility for jQuery 1.9.0+

See http://forum.jquery.com/topic/alternative-to-event-handle-in-1-9-0

Don't know if it breaks the compatibility with lower versions.