Some Javascript data structures. Added as needed.