Creating nodeIternator correctly now; works in IE