mod to index and added app.js