Add attributes to page wise divs. Try to avoid empty text runs.