Update CardAnimation.js