Fixed forgotten semi-colons in JS