Some data structures written  in JavaScript