using bug workaround for IE10

https://gist.github.com/piotr-mazurek/25b5b095841ba918699d