Array iterator for early versions of node without array iterators