Update API example to Bespoke.js v0.4.0
Merge pull request #1 from markdalgleish/update-api-example

Update API example to Bespoke.js v0.4.0