Data Structures written in javascript