Removed redundant functions from beercamp.js