changing to app.js