Use generator.js