docs(tutorial): add missing semicolon to code snippet

Lets encourage people to use semicolons in javascript :>

Closes #5834