fix(example.js): remove test code from example
chore(on.md off.md): Add docs for model#on/#off