Java Arraylist Class Objects Javascript Mdn Setsmart