Create generate.js

Initial add