Fixed it...
str = item.value;
var pattern1 = /, /g;
var pattern2 = /, /g;
var pattern3 = /,/g;
str = str.replace(pattern1, ",");
str = str.replace(pattern2, ",");
str = str.replace(pattern3, ", ");
item.value = str;
Ok... now i change the script so it will look less prettier.
item.value =...