Update JS tutorial 1

Included one unnecessary semicolon, which a vigilant student caught, and a missing parameter to a function.
this was done intentionally, thus the 
> We'll only give you a part of the function, try to make this work.