結果 : replace all occurrences of character in string javascript