removed old code from app.js