Java Array Within Array Javascript Mdn Setinterval Js