Added use of toLocaleString to use locale specific number formatting instead of always using commas