moved the svg connections to direct ajax calls for faster drawing, and eventually better interaction.