Programmatically added diagrammy to Page and cleaned up base html.