Fixes for IE8, but still ot stable :(