removed extraneous kineticjs code