Added missing semicolons in js.