diff --git a/app/views/ci/lints/show.html.haml b/app/views/ci/lints/show.html.haml
index 9af00319afa10d5f2b28462cfd015805c3da04d6..95eb9a5715218a10c728649e3dc8814afa829f1c 100644
--- a/app/views/ci/lints/show.html.haml
+++ b/app/views/ci/lints/show.html.haml
@@ -1,5 +1,7 @@
 - page_title "CI Lint"
 - page_description "Validate your GitLab CI configuration file"
+- content_for :page_specific_javascripts do
+  = page_specific_javascript_tag('lib/ace.js')
 
 %h2 Check your .gitlab-ci.yml
 
@@ -21,7 +23,3 @@
     .col-sm-12
       .results.ci-template
         = render partial: 'create' if defined?(@status)
-
-
-- content_for :page_specific_javascripts do
-  = page_specific_javascript_tag('lib/ace.js')