結果 : javascript replace works only on first occurrence