Simple JavaScript Array Iterator, using next() and Events.