diff --git a/app/views/dmsf/show.html.erb b/app/views/dmsf/show.html.erb
index 6cc9f322..20e26ae8 100644
--- a/app/views/dmsf/show.html.erb
+++ b/app/views/dmsf/show.html.erb
@@ -234,12 +234,9 @@
});
-<%
- if I18n.locale && !I18n.locale.to_s.match(/^en.*/)
- sUrl = "jquery.dataTables/#{I18n.locale.to_s.downcase}.json"
- else
- sUrl = 'jquery.dataTables/en.json'
- end
+<%
+ sUrl = "jquery.dataTables/#{I18n.locale.to_s.downcase}.json"
+ sUrl = 'jquery.dataTables/en.json' unless File.exist?(sUrl)
%>
<% content_for :header_tags do %>