SVG object and js test

SVG’s in <object> tags are part of the dom and can be manipulated with javascript.

window.setTimeout(function() {
var s = document.getElementById('spaceman').getSVGDocument();
    var path = s.getElementById('path2983');
    path.style.fill="rgba(206, 1, 75, 0.75)";
}, 1500);

See it in action