Turning SpeechRecognizer.js into a module.export