migrating to kineticjs