NodeJS -> controller beers refactor