Arraylist Get Input From User In Javascript