forEach polyfill