diff --git a/app/assets/javascripts/discourse/templates/topic.js.handlebars b/app/assets/javascripts/discourse/templates/topic.js.handlebars
index 3429239b1..63ec92a0b 100644
--- a/app/assets/javascripts/discourse/templates/topic.js.handlebars
+++ b/app/assets/javascripts/discourse/templates/topic.js.handlebars
@@ -156,5 +156,3 @@
{{#if currentUser.canManageTopic}}
{{render "topicAdminMenu" content}}
{{/if}}
-
-{{customHTML "bottom"}}
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index abc1e1ce9..120038748 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -84,7 +84,7 @@
<%= yield :data %>
-
+
<%= render :partial => "common/discourse_javascript" %>