modified kineticjs app