concatenate two or more javascript iterators