Add missing semicolons that break JS concatenation

Without this, JS concatenation can fail under some circumstances.