chance server to app.js