Changes
remove a not where a not should not be
if self.imageRight then
local imageRightCell = row.tag('td').addClass('mbox-imageright')
if not self.imageCellDiv then
imageRightCell = imageRightCell.tag('div').css('width', '52px') -- If we are using a div, redefine imageRightCell so that the image is inside it.
end