A JavaScript locale library based on information extracted from the Unicode CLDR database