add support for legacy ie

Failed on IE8 or lower.