create the create.js controller