Use new API in examples
Add configure to speech handler
Add jsdoc to speech handler