[Speech] Fix the js api for vocalizer

This should fix XWALK-1573 caused by api mismatch