do not use `for (var in array)` syntax on arrays.

This was causing array prototypes to be used.
Merge pull request #310 from mfairchild365/develop

do not use `for (var in array)` syntax on arrays.