Unique Array Javascript Using Parameters In Stored