Update JS tutorial 1

Included one unnecessary semicolon, which a vigilant student caught, and a missing parameter to a function