v0.0.20: toLocaleString does not work in browsers so we make a special one for them.