Add defer attribute to javascript_include_tag Rails
<%= javascript_include_tag "blah.js", :defer => "defer" %>
This will get you (in development):
<script defer="defer" src="/assets/blah.js" type="text/javascript"></script>
You can also do
<%= javascript_include_tag "blah.js", defer: true %>
which is more consistent with other switches.