Arraylist Integer New Array Javascript Function How To Use