changed redirect to app.js