Fix IE8 compatibility.