update of app.js