結果 : javascript remove substring from string if exists