結果 : replace is not a function javascript