Added an Array.forEach polyfill so jasmine works on IE < 9