added app.js, updated script links in index.html