code: function fixUpdates(updates) {
    for (var
      update,
      i = 0,
      length = updates.length,
      out = [];
      i < length; i++
    ) {
      update = updates[i];
      out.push(update === getUpdateForHTML ? update.call(this) : update);
    }
    return out;
  }
docs: given a list of updates create a copy with the right update for HTML