Fix for IE8 compability.