結果 : string replace is not a function javascript