* Updated code to use strict mode.
* Fixed card logo showing in card text field.
* General formatting and clean up.