add support for multiple events; add passing event data to in-DOM event handlers