結果 : remove object from array javascript based on condition