結果 : get rid of duplicates in array javascript