A polyfill component for addEventListener/removeEventListener