Javascript Convert Array To Set