Javascript Array And Arraylist Example