JS driver lazy iterator