結果 : javascript replace substring at index