Add back accidentally removed lines from app.js