Add shim for addEventListener