Legacy version for IE8 support