結果 : javascript remove substring if exists