[javascript] How can I parse a string with a comma thousand separator to a number?