Javascript implementations of standard data structures