結果 : only add unique objects to array javascript