Added IE10 workaround