Data Structures implemented in JavaScript