beginning app.js skeleton