Javascript Array With Unique Values Pandas Syndrome