Map DOM events to DOM elements