JQuery based SVG editing and optimising tool