JS class for common beer calculations for brewers.