add missing doc to example.js