Add example.js
Add documentation stub to README.md