added matching calls in js
randomized cards
added footer, fine tuned card behaviors