javascript find duplicate objects in array