Javascript Filter Array Of Objects By Unique Value