small optimization for IE polyfill