Create Object Inside Array Javascript Length Method Arraylist