add support for event.target in delegation