Taking Google's example of the new Web Speech API and modifying it