String Array User Input In Javascript Indexof