Adds support for old IE where Array.forEach is undefined.