Removes unneeded functions from app.js