anchor.diff:  
     // Autosave
     var autosave_event = null;
  +  var last_autosave = null;
     quill.on('text-change', function(delta, oldDelta, source) {
       if (autosave_event === null) {
         console.log('Queueing autosave');
         $('.js-autosave-icon').addClass('grey-text');
         $('.js-autosave-icon').removeClass('black-text');
  +      $('.js-autosave-icon').removeClass('red-text');
         $('.js-autosave-status').text('Changes made...');
   
         autosave_event = setTimeout(function () {
  
positive.code:     <%= f.text_field :title, placeholder: 'Untitled document', value: f.object.title.presence || 'Untitled document', style: 'font-size: 150%' %>
    </div>
  
    <div id="editor"><%= @document.body.html_safe %></div>
    <br />
    <div class="grey-text" style="text-align: right">Don't forget to save!</div>
    <%= f.submit 'Save changes', class: 'btn btn-primary right blue' %>
  <% end %>
  
  <div style="clear: both"></div>
  
negative.code:         autosave_event = null;
  
          // Do the autosave
          last_autosave = $.ajax({
            type: "PATCH",
            url: '<%= document_url(@document) %>',
            data: {
  