Create obj-generate.js