結果 : remove object from array based on condition javascript