var svg = document.getElementsByTagName('svg')[0];
var svgWBLZ = svg.getAttribute('xmlns');
function draW( root, name, attrWZ ){
var el = document.createElementNS(svgWBLZ,name);
for (var attr in attrWZ){
if (attrWZ.hasOwnProperty(attr)) el.setAttribute(attr,attrWZ[attr]);
}
return root.appendChild(el);
}
draW( svg, 'path', {
fill:"none", "class":"mus", transform:"translate(-396,-230)", d:"M487.41,282.411c-15.07,36.137-50.735,61.537-92.333,61.537 c-41.421,0-76.961-25.185-92.142-61.076"
});
draW( svg, 'circle', { cx:-80, cy:-50, r:30, fill:'#000' });
draW( svg, 'circle', { cx: 80, cy:-50, r:30, fill:'#000' });