oops, no js logging for production use..
Changed card initialization for DRYness