An easy way to use the ArrayList data structure with javascript.