Rework SVG to not use any javascript