Improved support for multiple events on the same element