$(document).ready(function(){
  highlightCurrentPage();
});

function highlightCurrentPage(){
  var currentUrl = document.URL;

  var regex = /http:\/\/(.+)\.com\/(\w*)\//;
  var baseUrl = currentUrl.replace(regex, "$2")
  console.log(baseUrl)
  $('a[href="/' + baseUrl + '/"]').addClass("current_page")
}
;

@@ -120,17 +120,115 @@
 nt.URL;%0A
-%0A
+  var baseUrl;%0A  if (currentUrl === %22http://www.catherinev.com/%22)%7B%0A    baseUrl = %22%22%0A  %7D%0A  else %7B%0A  
   var re
@@ -262,19 +262,20 @@
 (%5Cw*
-)
+?
 %5C/
+).*
 /;%0A  
-var
+ 
  bas
@@ -313,16 +313,22 @@
 , %22$2%22)%0A
+  %7D%0A %0A
   consol
@@ -371,17 +371,16 @@
 eUrl + '
-/
 %22%5D').add

update JS so home page will be highlighted