Added compatibility for svg.js v0.11