add syntactic sugar to DomEvent.on/off