結果 : replace last instance of character in string javascript