;(function($) {
  var columns = 0;
  var padding_width = 0;
  var content_width = 0;
  var scroll_width = 0;
  var content, slider, padding;

  //Cargo-culting from colorbox
  var twoup = $.fn.twoup = $.twoup = function(column_rule) {
    if(content) {
      alert("You already have a twoup!");
      return;
    }

    twoup.content = content = $("<div></div>").css({ "-webkit-column-rule": column_rule, "-moz-column-rule": column_rule, "column-rule": column_rule });
    twoup.slider = slider = $("<div></div>");
    twoup.padding = padding = $(this).css({ "overflow": "hidden" });

    var children = padding.children().detach();
    padding.append(slider);
    slider.append(content);
    content.append(children);

    if(!twoup.enabled()) return;

    $(window).resize(twoup.layout).resize();

    $(window).bind('hashchange', function() {
console.log("twoup ", (twoup.page() - 1));
      console.log("setting slider left to ", -((twoup.page() - 1) * scroll_width));
      slider.css({ "margin-left": -((twoup.page() - 1) * scroll_width) + "px" });
    }).trigger('hashchange');

    $(window).keydown(function(event) {
      if(event.keyCode == 32 || event.keyCode == 39) {
        event.preventDefault();
        twoup.page(1, true);
      }
      else if(event.keyCode == 8 || event.keyCode == 37) {
        event.preventDefault();
        twoup.page(-1, true);
      }
    });

    return this;
  };

  twoup.enabled = function() {
    //at the moment, only WebKit and MSIE10 has proper support for css3 columns AND getting the right width for a column element with overflow
    return $.browser.webkit || ($.browser.msie && $.browser.version >= 10);
  }

  twoup.columns = function() {
    return Math.max(1, Math.floor($(window).width() / (18 * padding_width)));
  };

  twoup.column_width = function() {
    return twoup.enabled() ? parseInt(content.css("-webkit-column-width") || content.css("-moz-column-width") || content.css("column-width")) : content.width()
  };

  twoup.pages = function() {
    console.log("content_width ", content_width);
    console.log("scroll_width ", scroll_width);
    return Math.ceil(content_width / scroll_width);
  };

  twoup.bound_page_number = function(number) {
    console.log("number ", number);
    var index = parseInt(number); 
    if(isNaN(index) || index < 1) index = 1;
    if(index > twoup.pages()) index = twoup.pages();
    console.log("index ", index);

    return index;
  };

  twoup.page_spread = function() {
    var pages = [];
    for(var i = twoup.page(); i < twoup.pages(), pages.length < twoup.columns(); i++) pages.push(i);
    return pages;
  };

  twoup.page = function() {
    if(arguments.length == 2 && arguments[1]) twoup.page(twoup.page() + arguments[0]);
    else if(arguments.length == 1) utils.page(twoup.bound_page_number(arguments[0]));
    else return twoup.bound_page_number(utils.page());
  };

  twoup.layout = function() {
    padding_width = parseInt(padding.css("padding-top"));

    var old_columns = columns;
    columns = twoup.columns();

    var column_gap_width = (padding_width * 2) + parseInt(content.css("-webkit-column-rule-width") || content.css("column-rule-width"));
    var wrapper_width = window.innerWidth;
    var wrapper_height = window.innerHeight;
    var inner_width = wrapper_width - (padding_width * 2);
    var inner_height = wrapper_height - (padding_width * 2);
    console.log("inner_width ", inner_width);
    console.log("inner_height ", inner_height);
    var column_width = Math.floor((inner_width - (column_gap_width * (columns - 1))) / columns);
    scroll_width = inner_width + column_gap_width;

    console.log("column_width ", column_width);
    console.log("scroll_width ", scroll_width);

    padding.css({ "width": wrapper_width + "px", "height": wrapper_height + "px", "overflow": "hidden" });
    content.css({ "width": inner_width + "px", "height": inner_height + "px", "-webkit-column-width": column_width + "px",
     "-moz-column-width": column_width + "px", "column-width": column_width + "px", "-webkit-column-gap": column_gap_width + "px",
     "-moz-column-gap": column_gap_width + "px", "column-gap": column_gap_width + "px" });
    content_width = content[0].scrollWidth;
    console.log("content_width ", content_width);

    if(columns != old_columns) $(window).trigger("onhashchange");
  };
})(jQuery);

@@ -843,135 +843,8 @@
 ) %7B%0A
-console.log(%22twoup %22, (twoup.page() - 1));%0A      console.log(%22setting slider left to %22, -((twoup.page() - 1) * scroll_width));%0A
     
@@ -1882,106 +1882,8 @@
 ) %7B%0A
-    console.log(%22content_width %22, content_width);%0A    console.log(%22scroll_width %22, scroll_width);%0A
     
@@ -1987,44 +1987,8 @@
 ) %7B%0A
-    console.log(%22number %22, number);%0A
     
@@ -2119,42 +2119,8 @@
 s();
-%0A    console.log(%22index %22, index);
 %0A%0A  
@@ -3084,102 +3084,8 @@
 2);%0A
-    console.log(%22inner_width %22, inner_width);%0A    console.log(%22inner_height %22, inner_height);%0A
     
@@ -3233,105 +3233,8 @@
 h;%0A%0A
-    console.log(%22column_width %22, column_width);%0A    console.log(%22scroll_width %22, scroll_width);%0A%0A
     
@@ -3677,24 +3677,24 @@
  + %22px%22 %7D);%0A
+
     content_
@@ -3728,58 +3728,8 @@
 dth;
-%0A    console.log(%22content_width %22, content_width);
 %0A%0A  

Remove unneeded debugging