fix indexOf error when call EventTarget.off first

fix Uncaught TypeError: Cannot read property 'indexOf' of undefined