Investigate this: https://github.com/JamesBrill/react-speech-recognition/blob/master/docs/POLYFILLS.md to get the speech recognition function to work on Firefox and other browsers