Make EventTarget can work under strict mode