updated js to add in commas