diff --git a/app/views/common/_discourse_javascript.html.erb b/app/views/common/_discourse_javascript.html.erb
index 61aaf13c1d2..ed417bba16b 100644
--- a/app/views/common/_discourse_javascript.html.erb
+++ b/app/views/common/_discourse_javascript.html.erb
@@ -42,4 +42,4 @@
   Discourse.set('assetVersion','<%= Discourse.assets_digest %>');
 </script>
 
-<%= javascript_include_tag 'browser-update.js' %>
+<%= script 'browser-update' %>