add comments to example.js