add docs for widget
Merge pull request #4 from mojotech/sjs/docs

add docs for widget