Playing around with KineticJS and JointJS