amount of files in commit chart using stacked bars
minor cleanup
remove root element children before drawing graph (to avoid duplicate graph when loading saved html)