edit effects.js for Card