Loop through array with for-each, not for-in

- Modern browsers don't mind this, but IE8 iterates over Array.prototype properties as well as array elements.