function refresh () {
  $(".refresh-link").on("click", function(event) {
    event.preventDefault();
    var $target = $(event.target);
    var url = $target.attr("href");
    var id = url.match(/(\d+)(?!.*\d)/)[0].toString();
    var dateTimeIn24Hours = new Date();
    var $dateSpan = $(".data" + id);
    $.ajax({
      url: url,
      type: "get"
    }).done(function(response) {
      $dateSpan.data("countdown", formatCurrentDateTime(dateTimeIn24Hours));
      countdown();
    });
  });
}

function refresh () {
  $(".refresh-link").on("click", function(event) {
    event.preventDefault();
    var $target = $(event.target);
    var url = $target.attr("href");
    var id = url.match(/(\d+)(?!.*\d)/)[0].toString();
    var dateTimeIn24Hours = new Date();
    var $dateSpan = $(".data" + id);
    var $timeRemainingSpan = $(".time-remaining" + id);
    var longest = parseInt($("#longest" + id).text(), 10);
    var current = parseInt($("#current" + id).text(), 10);
    
    $.ajax({
      url: url,
      type: "get"
    }).done(function(response) {
      countdown();
    });
  });
}

Add variables to grab the timeRemainingSpan, current streak integer, and longest streak integer
Add variables to grab the timeRemainingSpan, current streak integer, and longest streak integer
