Alternative to window.removeEventListener for IE 8