Testing the Animation callback for KineticJS