This was discussed in a previous thread.
How do I make the first letter of a string uppercase in JavaScript?
You could just grab the users input after the first word is typed or really whenever you want and reset the value using the methods discussed in the link above.