Add diagramm partial view script and "cache" generated text in class property