Legacy support for ie7/8