Use shim.forEach instead of relying on Array.prototype.forEach being present.
Added a little README.