var banner_jquery = $.noConflict(true);

(function($) {
  function init() {
    var banner = $("<div>").attr("id", "banner");
    $("body").prepend(banner);

    addTestinfo();
  }

  function createToolBar(id) {
    var div = $("<div>").attr("id", id);
    $("#banner").append(div);
    return div;
  }

  function addTestinfo() {
    var toolbar = createToolBar("testinfo");
    toolbar.text("This service is for testing only.");
    toolbar.append($("<br>"));
  }

  $(document).ready(init);
})(banner_jquery);

@@ -190,24 +190,20 @@
 ion 
-createToolBar(id
+addTestinfo(
 ) %7B%0A
@@ -210,19 +210,23 @@
     var 
-div
+toolbar
  = $(%22%3Cd
@@ -222,32 +222,39 @@
 bar = $(%22%3Cdiv%3E%22)
+%0A      
 .attr(%22id%22, id);
@@ -253,147 +253,26 @@
 d%22, 
-id);%0A    $(%22#banner%22).append(div);%0A    return div;%0A  %7D%0A%0A  function addT
+%22t
 estinfo
-() %7B
+%22)
 %0A    
-var toolbar = createToolBar(%22testinfo%22);%0A    toolbar
+  
 .tex
@@ -315,23 +315,62 @@
 %22);%0A    
-toolbar
+$(%22#banner%22).append(toolbar);%0A    $(%22#banner%22)
 .append(

simplify toolbar code