anchor.diff:        });
         $("#saveButton").prop("disabled",!modified);
         if (modified) {
  -        $(window).on("beforeunload",unloadWindow);
  +        $(window).on("beforeunload",unloadWindowWarning);
         } else {
  -        $(window).on("beforeunload");
  +        $(window).off("beforeunload",unloadWindowWarning);
         }
   
       }
  
positive.code:       span="Error occured"
  
  mixin saveButton
    button.btn.btn-large.btn-primary#saveButton(type = "button" onclick ="window.onbeforeunload=null; disableUnchanged();document.getElementById('input').submit();") Save
  
  mixin doublettesButton
    if articleReferences.count >= 1
  
negative.code:           $("#old_markdown"+lang).prop("disabled",true);
          }
        });
        $(window).off("beforeunload",unloadWindowWarning);
  
      }
  
  