Shims for Array.prototype.forEach in legacy browsers.