Unnecessary code is removed from app.js