jquery find duplicates in array