
var main = function(){
 $('.dropdown-toggle').click(function() {
     $('.dropdown-menu').toggle();  
 });
    
 $('.nav-pills').click(function(){
  $('.nav').removeClass('.active');
  $('.nav-pills').addClass('active');	
 });
}

$(document).ready(main);


@@ -106,16 +106,23 @@
 );%0A    %0A
+ /*   %0A
  $('.nav
@@ -227,16 +227,18 @@
 );%09%0A %7D);
+*/
 %0A%7D%0A%0A$(do

Update navbar.js