Updated to work with all new svg.js goodness