Remove unnecessary code from app.js