Fix failing tests in IE8-10.