more ajax tweaks for creation of new visualization. fix #3