Fixed forgotten semi-colons in JS

Some semicolons were missing, not a big deal though.