diff --git a/app/assets/javascripts/browser-update.js b/app/assets/javascripts/browser-update.js
index c3e5c83b300..31a5b410f60 100644
--- a/app/assets/javascripts/browser-update.js
+++ b/app/assets/javascripts/browser-update.js
@@ -37,7 +37,7 @@
result += noscriptElements[i].childNodes[j].nodeValue;
}
- mainElement.innerHTML = result;
+ mainElement.outerHTML = result;
break;
}
}
diff --git a/app/views/layouts/_noscript_footer.html.erb b/app/views/layouts/_noscript_footer.html.erb
new file mode 100644
index 00000000000..76770aaa049
--- /dev/null
+++ b/app/views/layouts/_noscript_footer.html.erb
@@ -0,0 +1,32 @@
+
diff --git a/app/views/layouts/_noscript_header.html.erb b/app/views/layouts/_noscript_header.html.erb
new file mode 100644
index 00000000000..5085644f178
--- /dev/null
+++ b/app/views/layouts/_noscript_header.html.erb
@@ -0,0 +1,5 @@
+<%=SiteSetting.title%>
+
+