Refactor to move card switcher state and methods onto a cardSwitcher object, encapsulate card state & methods in Card prototype/class