define([
  'jquery',
  'underscore',
  'backbone',
  'chordNamer'
], function ($, _, Backbone, chordNamer) {

  var ChordView = Backbone.View.extend({
    el: $('#chord-description'),

    initialize: function (options) {
      this.listenTo(this.model, 'change', this.render);
    },

    render: function () {
      var notes = this.model.get('notes');
      var key = this.model.get('key');

      console.log(notes);

      var description = chordNamer.describeChord(notes, key, true);
      this.$el.text(description);
      return this;
    },

    listExtensions: function () {
      var majorExtentionNames = ['1', 'b9', '9', '#9', '3', '11', '#11', '5', 'b13', '13', '7', 'maj7'];
      var minorExtentionNames = ['1', 'b9', '9', '3', 'b11', '11', 'b5', '5', 'b13', '13', '7', 'maj7'];

      // if contains 1,3,5 append key
      // if contains 7,9,11,13 append respective number
      // else if contains maj7 append maj7
      // if contains b9, #9, #11, b13 append any

      var keyId = this.model.get('key');
      var keyOffset = 12 - keyId;

      var extensions = this.model.get('notes').map(function (note) {
        return majorExtentionNames[(note + keyOffset) % 12];
      });

      console.log(extensions);
    }
  });

  return ChordView;
});
@@ -392,35 +392,8 @@
 );%0A%0A
-      console.log(notes);%0A%0A
     
@@ -456,16 +456,16 @@
  true);%0A
+
       th
@@ -766,195 +766,8 @@
 %5D;%0A%0A
-      // if contains 1,3,5 append key%0A      // if contains 7,9,11,13 append respective number%0A      // else if contains maj7 append maj7%0A      // if contains b9, #9, #11, b13 append any%0A%0A
     
@@ -968,16 +968,16 @@
  %25 12%5D;%0A
+
       %7D)
@@ -981,40 +981,8 @@
  %7D);
-%0A%0A      console.log(extensions);
 %0A   

remove old debug and comments