added missing semicolons on backend js