Update JS tutorial 1

Included one unnecessary semicolon, which a vigilant student caught, and a missing parameter to a function.
It is a bit awkward as it "works" because of the global. That's why I wondered above whether we could add a line that tells them to use someone else's name, so that it's clear that it fails without the fix.