Bug fixes, JS templating engine

Fixed bug where buttons would not work due to CSS3 transform.
Stack icons still need their CSS overhaul.
Incorporated a client-side templating engine for displaying the cards, as we want to mutate the order of them without doing redundant DOM gymnastics.