javascript array from new set