(function(L) {
  'use strict';

  L.views.AddnotePage = Backbone.View.extend({
    className: 'note-creator',
    id: 'addnote',
    events: {
      'click .save-icon': '_onSaveClicked',
      'click .close-icon': '_onCloseClicked',
      'click .pin-icon': '_onPinClicked',
      'keydown .editor': '_onKeyDown'
    },
    initialize: function() {
      var that = this;
      window.onbeforeunload = function() {
        if (that._rendered) {
          return "You have an unsaved list.it note open.";
        }
      };

    },
    _onKeyDown: function(event) {
      var keyCode;
      event = event || window.event;
      keyCode = event.keyCode || event.which;
      switch(keyCode) {
        case KeyCode.ENTER:
          if (event.shiftKey) {
            this._onSaveClicked();
            event.preventDefault(); // Let model update
          }
          break;
        case KeyCode.ESC:
          this._onCloseClicked();
          break;
      }
    },
    _onSaveClicked: function() {
      this.saveNote();
    },
    _onCloseClicked: function() {
      this.model.destroy();
    },
    _onPinClicked: function() {
      var meta = this.model.get('meta', {});
      meta.pinned = true;
      this.model.set('meta', meta);
      this.saveNot();
    },
    saveNote: function() {
      this.model.set({contents: L.util.strip(this.editor.getText())});
      this.model.save();
    },
    remove: function() {
      if (this._rendered) {
        this.editor.remove();
        Backbone.View.prototype.remove.call(this);
        this._rendered = false;
      }
      return this;
    },
    render: function(options) {
      if (!this._rendered) {
        this.editor = new L.views.Editor({
          text: this.model.get('contents'),
          autoResize: false,
          actions: L.templates['create-actions']()
        });
        this.$el.append('<div class="header hbox"><h1 class="flex">List.it: Add Note</h1><span class="clickable close-icon"><img src="img/x10.png" /></span></div>');
        this.$el.append(this.editor.render().el);
      }
      this._rendered = true;
      return this;
    }
  });

})(ListIt);

(function(L) {
  'use strict';

  L.views.AddnotePage = Backbone.View.extend({
    className: 'note-creator',
    id: 'addnote',
    events: {
      'click .save-icon': '_onSaveClicked',
      'click .close-icon': '_onCloseClicked',
      'click .pin-icon': '_onPinClicked',
      'keydown .editor': '_onKeyDown'
    },
    initialize: function() {
      var that = this;
      window.onbeforeunload = function() {
        if (that._rendered) {
          return "You have an unsaved list.it note open.";
        }
      };

    },
    _onKeyDown: function(event) {
      var keyCode;
      event = event || window.event;
      keyCode = event.keyCode || event.which;
      switch(keyCode) {
        case KeyCode.ENTER:
          if (event.shiftKey) {
            this._onSaveClicked();
            event.preventDefault(); // Let model update
          }
          break;
        case KeyCode.ESC:
          this._onCloseClicked();
          break;
      }
    },
    _onSaveClicked: function() {
      this.saveNote();
    },
    _onCloseClicked: function() {
      this.model.destroy();
    },
    _onPinClicked: function() {
      this.editor.setText('!! ' + this.editor.getText());
      this.saveNote();
    },
    saveNote: function() {
      this.model.set({contents: L.util.strip(this.editor.getText())});
      this.model.save();
    },
    remove: function() {
      if (this._rendered) {
        this.editor.remove();
        Backbone.View.prototype.remove.call(this);
        this._rendered = false;
      }
      return this;
    },
    render: function(options) {
      if (!this._rendered) {
        this.editor = new L.views.Editor({
          text: this.model.get('contents'),
          autoResize: false,
          actions: L.templates['create-actions']()
        });
        this.$el.append('<div class="header hbox"><h1 class="flex">List.it: Add Note</h1><span class="clickable close-icon"><img src="img/x10.png" /></span></div>');
        this.$el.append(this.editor.render().el);
      }
      this._rendered = true;
      return this;
    }
  });

})(ListIt);

Make the addnotebox pinning consistant.