old_contents: /**
   * Main entrypoint for banknote.
   *
   * Copyright 2015 Ethan Smith
   */
  
  var Backbone = require('backbone'),
      Marionette = require('backbone.marionette'),
      $ = require('jquery'),
      _ = require('underscore'),
      MainLayout = require('./src/view/MainLayout'),
      RegionModal = require('./src/common/modal/RegionModal.js'),
      CategorizedController = require('./src/controller/CategorizedController');
  require('./src/common/library/CurrencyInputStyler');
  
  
  var Banknote = new Marionette.Application();
  
  Banknote.addRegions({
     central: '#app',
     modal: RegionModal
  });
  
  Banknote.addInitializer(function(options) {
     $.getJSON('demo.json', function(data) {
  
        var incomeCollection = new AmountEntryCollection(_.map(data.income, function(note) {
           return new AmountEntry(note);
        }));
  
        var controller = new CategorizedController({
           title: 'Income Totals'
        });
        Banknote.central.show(controller.render(incomeCollection));
     });
  });
  
  Banknote.start();
  
  // Make Banknote available globally
  global.Banknote = Banknote;
  
new_contents: /**
   * Main entrypoint for banknote.
   *
   * Copyright 2015 Ethan Smith
   */
  
  var Backbone = require('backbone'),
      Marionette = require('backbone.marionette'),
      $ = require('jquery'),
      _ = require('underscore'),
      MainLayout = require('./src/view/MainLayout'),
      RegionModal = require('./src/common/modal/RegionModal.js'),
      CategorizedController = require('./src/controller/CategorizedController');
  require('./src/common/library/CurrencyInputStyler');
  
  
  var Banknote = new Marionette.Application();
  
  Banknote.addRegions({
     central: '#app',
     modal: RegionModal
  });
  
  Banknote.addInitializer(function(options) {
     $.getJSON('demo.json', function(data) {
  
        var incomeCollection = new AmountEntryCollection(data.income);
  
        var controller = new CategorizedController({
           title: 'Income Totals'
        });
        Banknote.central.show(controller.render(incomeCollection));
     });
  });
  
  Banknote.start();
  
  // Make Banknote available globally
  global.Banknote = Banknote;
  
subject: Remove unneeded map for collection model