Update CardBase.js