Create Set From Array Javascript Methods For Querying