Removing no used code from app.js