Updated with latest kineticjs