Added IE compatibility