Javascript Object Array Get Distinct Records