Added helper function to create and SVG element