This is the Vanilla JavaScript version of BeerCoaster