Improved IE9 compatibility.