function loadSaved(savedObject) {
  for (const param in savedObject) {
    if (param in globalParams) globalParams[param] = savedObject[param];
  }
  const shsval = savedObject.shs;
  if (shsval !== undefined && shsval in shsWeights) {
    const select = $('#weight-select');
    select.val('' + shsval);
    try { select[0].M_FormSelect._setValueToInput(); } catch (error) { }
  }
  const firaval = savedObject.fira;
  if (firaval !== undefined) {
    const firaWeight = Math.floor(firaval/3), firaWidth = firaval%3;
    if (firaWeight in firaWeights) {
      const select = $('#fira-weight-select');
      select.val('' + firaWeight);
      try { select[0].M_FormSelect._setValueToInput(); } catch (error) { }
    }
    if (firaWidth in firaWidths) {
      const select = $('#fira-width-select');
      select.val('' + firaWidth);
      try { select[0].M_FormSelect._setValueToInput(); } catch (error) { }
    }
    useFira = true;
    document.getElementById('raleway-radio').checked = false;
  }
  const ralewayval = savedObject.raleway;
  if (ralewayval !== undefined) {
    if (ralewayval in ralewayWeights) {
      const select = $('#raleway-weight-select');
      select.val('' + ralewayval);
      try { select[0].M_FormSelect._setValueToInput(); } catch (error) { }
    }
    useFira = false;
    document.getElementById('raleway-radio').checked = true;
  }
  globalParams.bindUI();
  updatePreview();
}
Load saved object
@param { { [key: string]: boolean|number } } savedObject