Data Structures through JavaScript