- Load jQuery before Modernizr so that the fallback method will
always be applied immediately after jQuery. If a script is
enqueued in the footer after jQuery, then the fallback shows up
in the footer. Modernizr will always be in the head so this
issue won't occur.
- Move plugins.js and main.js to footer
jQuery is still kept in the head to avoid conflicts with plugins
- Modernizr is now enqueued and included after stylesheets
- jQuery is no longer hardcoded since WP now supports protocol-relative
URLs
- jQuery fallback output is handled by a new function in lib/scripts.php
(the method is still the same one from HTML5 Boilerplate)