Fix support for IE8