Revert "Revert "Update app.js""

Reverts reviewninja/foo#217