A few fixes to make it compatible with the code in twitter-cldr-js