Fix for IE8 refresh