updating doc to reflect code examples per https://github.com/krakenjs/kraken-examples/issues/32