require.config({
  baseUrl : '../',
  paths: {
    // Editor core
    'editor': './src/editor',

    // Editor modules
    'scribe-wrapper': './src/modules/lib/scribe-wrapper/scribe-wrapper',
    'source-converter': './src/modules/lib/source-converter/source-converter',

    // Editor plugins
    'editor-plugin-sticky-toolbar': './src/modules/plugins/editor-sticky-toolbar/editor-sticky-toolbar',

    // Scribe
    'he': './bower_components/he/he',
    'scribe': './bower_components/scribe/scribe',
    'scribe-plugin-blockquote-command': './bower_components/scribe-plugin-blockquote-command/scribe-plugin-blockquote-command',
    'scribe-plugin-formatter-plain-text-convert-new-lines-to-html': './bower_components/scribe-plugin-formatter-plain-text-convert-new-lines-to-html/scribe-plugin-formatter-plain-text-convert-new-lines-to-html',
    'scribe-plugin-heading-command': './bower_components/scribe-plugin-heading-command/scribe-plugin-heading-command',
    'scribe-plugin-keyboard-shortcuts': './bower_components/scribe-plugin-keyboard-shortcuts/scribe-plugin-keyboard-shortcuts',
    'scribe-plugin-link-prompt-command': './bower_components/scribe-plugin-link-prompt-command/scribe-plugin-link-prompt-command',
    'scribe-plugin-insertimage-command': './bower_components/scribe-plugin-insertimage-command/scribe-plugin-insertimage-command',
    'scribe-plugin-inserttable-command': './bower_components/scribe-plugin-inserttable-command/scribe-plugin-inserttable-command',
    'scribe-plugin-inserthtml-command': './bower_components/scribe-plugin-inserthtml-command/scribe-plugin-inserthtml-command',
    'scribe-plugin-sanitizer': './bower_components/scribe-plugin-sanitizer/scribe-plugin-sanitizer',
    'scribe-plugin-smart-lists': './bower_components/scribe-plugin-smart-lists/scribe-plugin-smart-lists',
    'scribe-plugin-toolbar': './bower_components/scribe-plugin-toolbar/scribe-plugin-toolbar',

    // Converters
    'marked': './bower_components/marked/lib/marked',
    'to-markdown' : './bower_components/to-markdown/src/to-markdown'
  },
  shim: {
    'to-markdown' : {
      deps : ['he']
    },
    'he': {
        'exports': 'he'
    }
  }
});

@@ -2109,51 +2109,8 @@
 e'%5D%0A
-    %7D,%0A    'he': %7B%0A        'exports': 'he'%0A
     

Remove he shim, instead make he a dependency of to-markdown