fixing server paths in app.js