Getting Array Input From User In Javascript The Relational Test