String Array User Input In Javascript Interpreter