Updated app.js to include card stat on view update.