Replacing forEach with for loop to support older browsers.
Merge pull request #15 from kenzic/master

Supporting browsers without forEach