Javascript Add All Items In Array To Arraylist