CB-7892 XHR to local files poly should only load/run once
diff --git a/template/cordovalib/XHRHelper.cs b/template/cordovalib/XHRHelper.cs
index 62f49ea..35913eb 100644
--- a/template/cordovalib/XHRHelper.cs
+++ b/template/cordovalib/XHRHelper.cs
@@ -37,6 +37,9 @@
     if (!win.__XHRShimAliases) {
         win.__XHRShimAliases = {};
     }
+    else {
+        return; // already initialized, this happens when navigating to #
+    }
 
     win.__onXHRLocalCallback = function (responseCode, responseText, reqId) {
         if (win.__XHRShimAliases[reqId]){