Remove some unnecessary code from app.js