last tweaks to the app.js