Fixing "register" case in `examples/c2s.js`
Merge pull request #260 from pvoisin/register-example-fix

Fixing "register" case in `examples/c2s.js`