code: function formatTimeDiff(milliseconds) {
      var seconds = Math.floor(milliseconds / 1000);
      var timeDiffStr = seconds + ' seconds ago';
      var time;
      if (seconds > 24 * 60 * 60) {
          time = Math.floor(seconds * 10 / (24 * 60 * 60)) / 10;
          timeDiffStr = time + ' day(s) ago';
      } else if (seconds > 60 * 60) {
          time = Math.floor(seconds * 10 / (60 * 60)) / 10;
          timeDiffStr = time + ' hour(s) ago';
      } else if (seconds > 60) {
          time = Math.floor(seconds / 60);
          timeDiffStr = time + ' minute(s) ago';
      }
      return timeDiffStr;
  }
docs: Function to format a given time difference of milliseconds into a string describing it in terms of days, hours, or
  minutes ago.
  It rounds the time difference to the nearest 1/10th of a day or hour, or the nearest second, minute.
  @param {Number} milliseconds Number of milliseconds of the time difference
  @returns {string} String of english describing the time difference