diff --git a/js/script2.js b/js/script2.js
index ed89fe5e5c7beb8e17e1eef39ca37595e525c790_anMvc2NyaXB0Mi5qcw==..760313371d05799b4189f1ce5facacda6c6839c1_anMvc2NyaXB0Mi5qcw== 100644
--- a/js/script2.js
+++ b/js/script2.js
@@ -1,2 +1,5 @@
+function set_sidebar_html(html) {
+    $("#sidebar").html(html);
+}
 
 function py3k_donate() {
@@ -1,8 +4,6 @@
 
 function py3k_donate() {
-    $.get("don1.html#", function (html) {
-        $("#sidebar").html(html);
-    });
+    $.get("don1.html", set_sidebar_html);
 }
 
 function stm_donate() {
@@ -6,9 +7,7 @@
 }
 
 function stm_donate() {
-    $.get("don4.html#", function (html) {
-        $("#sidebar").html(html);
-    });
+    $.get("don4.html", set_sidebar_html);
 }
 
 function general_donate() {
@@ -12,9 +11,7 @@
 }
 
 function general_donate() {
-    $.get("don2.html#", function (html) {
-        $("#sidebar").html(html);
-    });
+    $.get("don2.html", set_sidebar_html);
 }
 
 function numpy_donate() {
@@ -18,8 +15,6 @@
 }
 
 function numpy_donate() {
-    $.get("don3.html#", function (html) {
-        $("#sidebar").html(html);
-    });
+    $.get("don3.html", set_sidebar_html);
 }
 
@@ -24,5 +19,3 @@
 }
 
-$(document).ready(function() {
-    stm_donate();
-});
\ No newline at end of file
+$(document).ready(stm_donate);