cleaned up allcards.js