diff --git a/app/views/layouts/_es5_scripts.html.erb b/app/views/layouts/_es5_scripts.html.erb
index 350c240..ca9b01a 100644
--- a/app/views/layouts/_es5_scripts.html.erb
+++ b/app/views/layouts/_es5_scripts.html.erb
@@ -34,7 +34,6 @@
<%= javascript_include_tag 'views/orgs/admin_edit.js' %>
<%= javascript_include_tag 'views/orgs/shibboleth_ds.js' %>
<%= javascript_include_tag 'views/plans/available_templates.js' %>
- <%= javascript_include_tag 'views/plans/index.js' %>
<%= javascript_include_tag 'views/registrations/sign_in_sign_up.js' %>
<%= javascript_include_tag 'views/shared/login_form.js' %>
<%= javascript_include_tag 'views/shared/register_form.js' %>
diff --git a/lib/assets/javascripts/views/plans/index.js b/lib/assets/javascripts/views/plans/index.js
index d37e94f..a504bbb 100644
--- a/lib/assets/javascripts/views/plans/index.js
+++ b/lib/assets/javascripts/views/plans/index.js
@@ -1,6 +1,6 @@
import { PLAN_VISIBILITY_WHEN_TEST, PLAN_VISIBILITY_WHEN_NOT_TEST, PLAN_VISIBILITY_WHEN_NOT_TEST_TOOLTIP } from '../../constants';
-$().ready(() => {
+$(() => {
const checkboxHandler = (el) => {
const form = $(el).closest('form');