Lazy enumerator chains for JS