docs: function getMaxY1InRow(pages, row) {
          if (!row || row.length === 0) {
              return Infinity;
          }
          var y1s = util.map(row, function (pageIndex) {
              return pages[pageIndex].y1;
          });
          return Math.max.apply(Math, y1s);
      }