Chrome sucks. Javascript adjusted so up and down arrows select the input text