Javascript Distinct List From Array To Object