changing ui interaction to SVG inside XHTML page