svg.js usage

Direct SVG DOM manipulation replaced with svg.js library calls.