Update app.js

Removed unnecessary commented-out function