Add function chain support on mem.dom.EventHandler.