A beer recipe calculator for homebrewing on servers and in browsers