[Speech] Fix the js api for vocalizer

BUG=XWALK-1573