Java Arraylist Class Objects Javascript Mdn Setinterval W3schools