A more convenient DOM EventListener.