add setTimeout for ie support