Data structures with idiomatic JavaScript collection interfaces