Modify markup to page structure