Fix Bug 1001887 - Localize Number

Simply use [`Number.toLocaleString`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString). ECMAScript Intl API is here.