Array.prototype.forEach shim