Removed unnecessary Array.Prototype.ForEach and IE8 polyfill. Instead just does a for loop with closure.