// Saves the account ID in local storage
const id = document.getElementById("account-id");
const ls = window.localStorage;
if (id) {
  ls.setItem("beacon:account-id", id.innerHTML);
}