JavaScript converter among different volume and weight measures for cooking-related substances.