Update the svg structure and start the javascript vector function