LUN-1595: toLocaleString does not seem to work on all browsers. Fixed by using toString.
Merge pull request #8 from pbs/LUN-1595

Lun 1595