Fallback of addEventListener and removeEventListener for older browsers.