Data Structures in JavaScript and Processing