create app.js, may need a redo