Added IE8 support