Use toLocaleString method for commas

fixes #111