Added IE compatibility.