docs(module): fix code example

- fix typo: replace the period with a semicolon
- add a couple semicolons