Create generator.js