You could use a regex capturing everything inside parentheses in a capturing group as per Javascrip Regex e.g.
var foo = "(bar)";
var replacedStr = foo.replace(/\((.*)\)/g, "$1");
or replacing just the parentheses with empty string e.g.
var foo = "(bar)";
var replacedStr = foo.replace(/[()]/g, "");