結果 : remove last two words from string javascript