Better handling of the SVG plot. Needs some work stil
fixes #60
Tango with AJAX. Fixes #96