modifications for IE8 support