結果 : only add unique items to array javascript