Fixes #16363. Fix problem with previous fix on IE8, addEventListener does not exist in IE8. This fixes the regression, at the price of not fixing the original issue in IE8.. Thanks Adrian Vasiliu (IBM, CCLA). !strict