Data structures for JavaScript