Exploring JS generators