Fix eventListeners for IE8