Update speechRecog.js