code: function( bool ){
                  $( document )[ bool ? "off" : "on" ]("selectstart", drag.dontstart )
                      .css("MozUserSelect", bool ? "" : "none" );
                  // .attr("unselectable", bool ? "off" : "on" )
                  document.unselectable = bool ? "off" : "on";
              }
docs: toggles text selection attributes ON (true) or OFF (false)