code: function(elements, dimension) {
  
  	return _.reduce(elements, function(max, el) { return Math.max(el.get('size')[dimension], max); }, 0);
      }
docs: find maximal dimension (width/height) in an array of the elements