copied latest voice-demo code to js sdkst