Fixed jquery usage for cards.