結果 : javascript check for duplicate objects in array