Simple speech/word recognition in pure javascript