Fix for IE8/IE9