code: function elide(original, maxLength) {
    if (original.length <= maxLength)
      return original;
    return original.substring(0, maxLength - 1) + '\u2026';
  }
docs: Shortens the provided string (if necessary) to a string of length at most
  |maxLength|.
  @param {string} original The original string.
  @param {number} maxLength The maximum length allowed for the string.
  @return {string} The original string if its length does not exceed
  |maxLength|. Otherwise the first |maxLength| - 1 characters with '...'
  appended.