modyfying app.js