Implementations of various data structures in JS.