Adding nodeIterator.js