Fixed so that toLocaleString is overridden properly