How To Get Array Input From User Javascript