Added gen.js file