Make DOM proxies and event listeners work.