Switched from kineticjs to d3