move app.js, update to index