diff --git a/admin_menu.js b/admin_menu.js
index 2e28b55..9a23994 100644
--- a/admin_menu.js
+++ b/admin_menu.js
@@ -126,7 +126,7 @@ Drupal.admin.getCache = function (hash, onSuccess) {
     type: 'GET',
     dataType: 'text', // Prevent auto-evaluation of response.
     global: false, // Do not trigger global AJAX events.
-    url: Drupal.settings.admin_menu.basePath.replace(/admin_menu/, 'js/admin_menu/cache/' + hash),
+    url: Drupal.settings.admin_menu.basePath.replace(/admin_menu/, 'admin_menu/js/cache/' + hash),
     success: onSuccess,
     complete: function (XMLHttpRequest, status) {
       Drupal.admin.hashes.hash = status;
diff --git a/admin_menu.module b/admin_menu.module
index 795ad21..1ea2d58 100644
--- a/admin_menu.module
+++ b/admin_menu.module
@@ -63,7 +63,7 @@ function admin_menu_theme() {
 function admin_menu_menu() {
   // AJAX callback.
   // @see http://drupal.org/project/js
-  $items['js/admin_menu/cache'] = array(
+  $items['admin_menu/js/cache'] = array(
     'page callback' => 'admin_menu_js_cache',
     'delivery callback' => 'admin_menu_deliver',
     'access arguments' => array('access administration menu'),
