diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb
index 02fdf72d4f..312f54f982 100644
--- a/app/views/layouts/_header.html.erb
+++ b/app/views/layouts/_header.html.erb
@@ -197,3 +197,5 @@
opacity:0.5;
}
+
+<%= render :partial => "map/mapDependencies" %>
diff --git a/app/views/map/_inlineLeaflet.html.erb b/app/views/map/_inlineLeaflet.html.erb
index ca223dd637..873fcf1004 100644
--- a/app/views/map/_inlineLeaflet.html.erb
+++ b/app/views/map/_inlineLeaflet.html.erb
@@ -1,5 +1,3 @@
-<%= render :partial => "map/mapDependencies" %>
-
<% unique_id = rand(1000) %>