Check out the blog post on speech to text in the browser with the Web Speech API to see how this is built.
Your browser doesn't support Speech Recognition. Sorry.