outline of app.js