addEventListener conditional for IE8 support.