Added IE8 workaround