diff --git a/shared/locallib.js b/shared/locallib.js
index 19ac66904f75d294d1fb547d594de82acc73e90d..e260d8f01ea0dac2c13a31ee9095ffe343d94778 100644
--- a/shared/locallib.js
+++ b/shared/locallib.js
@@ -68,18 +68,18 @@ function addDropdownNavigation(Y, __capabilities, __cmid) {
     overviewtab.addEventListener("mouseleave", function () {
         setTimeout(function () {
             if (!mouseOverDropdownContent) {
-                $('#pdfannotator_dropdownnav').removeClass('show');
+                document.getElementById('pdfannotator_dropdownnav').classList.remove('show');
             }
         }, 0);
     });
 
-    $('#pdfannotator_dropdownnav').mouseenter(function () {
+    document.getElementById('pdfannotator_dropdownnav').onmouseenter = function(){
         mouseOverDropdownContent = true;
-    });
-    $('#pdfannotator_dropdownnav').mouseleave(function () {
-        $('#pdfannotator_dropdownnav').removeClass('show');
+    };
+    document.getElementById('pdfannotator_dropdownnav').onmouseleave = function(){
+        document.getElementById('pdfannotator_dropdownnav').classList.remove('show');
         mouseOverDropdownContent = false;
-    });
+    };
 
 }
 
@@ -233,4 +233,4 @@ function setTimeoutNotification(){
             notificationpanel.removeChild(notificationpanel.firstChild);
         } 
     }, 10000);
-}
\ No newline at end of file
+}