Extended JavaScript collections