Update index and app.js