javascript added: shuffles card and puts random card into first cardNumber id