fix a infinite loop when work with polyfill under ie < 9