anchor.diff:      add : function(card) {
         var card_entry = this.entries[card.code]
         if(!card_entry) {
  -        card_entry = this.entries[card.code] = {card : $.extend({}, card), count : 0}
  +        card_entry = this.entries[card.code] = {card : $.extend({}, card), amount : 0}
         } 
  -      card_entry.count += 1
  +      card_entry.amount += 1
         return card_entry
       },
       remove : function(code) {
  -      var card_entry = this.entries[code]
  -      if(card_entry) {
  -        card_entry.deck_mount -= 1
  -        if(card_entry.deck_amount <= 0) {
  -          delete this.entries[code]
  -        }
  -      }
  +      delete this.entries[code]
       },
       cost : function() {
         return  _.reduce(this.entries, function(memo, card_entry) {
  -        return memo + card_entry.count * card_entry.card.cost()
  +        return memo + card_entry.amount * card_entry.card.cost()
         }, 0)
       }
     }
  -
   
     $('#mage_select').one('change', 'input', function() {
   
  
positive.code:     })
    })
  
    $('#mage_select input').change(updateAllCards)
  
    var showCard = _.throttle(function(card) {
      $('<img></img>').attr('src', '/assets/' + card.code + '.jpg').appendTo($('#card_holder').empty()) 
    }, 1000)
  
    $('#card_list_table').on('click', 'tbody tr button', function() {
      var tr = $(this).closest('tr')
      var listCard = tr.data('card')
      var card_entry = deck.add(listCard)
      var tr = getDeckTr(listCard.code)
      if(tr.length > 0) {
        updateDeckAmountTr(tr)
      } else {
        deckTable.dataTable().fnAddData(listCard)
      }
    })
  
    $('#card_list_table, #deck_table').on('click', 'tbody tr a.card_href', function() {
  
negative.code:       bSortable:false
      }],
      fnCreatedRow : function(tr, card, iDataIndex) {
        $(tr).attr('data-code', card.code)
      } 
    })
  
    $('#deck_table tbody').on('click', 'tr button',function() {
      var tr = $(this).closest('tr')
      deck.remove(tr.data('code'))
      deckTable.fnDeleteRow(tr[0])
      updateTotalDeckCost()
    })
  
  