added some draft but working kineticjs