Missed references in index and app.js