move app.js to server