redraw pieces with svg.js