Utility to delegate DOM events (>= IE8)