String Array User Input In Javascript Indexof W3schools