Assuming the parens cannot be nested (in which case you won't be able to use JS regex flavor).
Try this:
,(?![^()]*\))
A quick break down:
, # match a comma [1]
(?! # start negative look ahead [2]
[^()]* # match zero or more non-parens chars [3]
\) # match the closing paren [4]
) # stop look ahead
In plain English, that would read:
match a comma [1], only if there's no closing paren [4] ahead [2] without the presence of any paren between the comma and the closing paren [3]