Update JS tutorial 1

Included one unnecessary semicolon, which a vigilant student caught, and a missing parameter to a function
Merge pull request #125 from passy/patch-3

Update JS tutorial 1