enhance app.js