add example of how to check for the existence of a widget
Merge pull request #67 from mojotech/sjs/docs-and-docs

add example of how to check for the existence of a widget