[Speech] Fix the js api for vocalizer

BUG=XWALK-1573
Merge pull request #298 from mrunalk/media_speech_fix

[Speech] Fix the js api for vocalizer