diff --git a/resources/static/shared/storage.js b/resources/static/shared/storage.js
index 4163e0e6bf73f420ca776d9ea5c8f6cb3b180479..c31dce131b743c9d76301cbf127b9cd1e9062f54 100644
--- a/resources/static/shared/storage.js
+++ b/resources/static/shared/storage.js
@@ -39,7 +39,7 @@ BrowserID.Storage = (function() {
 
   function prepareDeps() {
     if (!jwcrypto) {
-      jwcrypto = require("./jwcrypto");
+      jwcrypto = require("./lib/jwcrypto");
     }
   }