code: function getMostRecentRefresh(formLastUpdated, dataLastUpdated) {
    var formTimestamp = new Date(formLastUpdated).getTime();
    var dataTimestamp = new Date(dataLastUpdated).getTime();
  
    if (!dataLastUpdated) {
      return formLastUpdated;
    }
  
    if (dataTimestamp > formTimestamp) {
      return dataLastUpdated;
    } else {
      return formLastUpdated;
    }
  }
docs: Function to compare to timestamps and return the most recent.