Added conditions in stats jsp
Refactorizes SVG generation