Initial update of app.js