I built this new WordPress plugin, RequireWP, to help speed up the web. It extends WordPress’s WP_Scripts class to write your script requirements out with Require.js syntax. I have seen a ~20% speed increase (decline in load time) on this site which is using the plugin as well. After installing I just had to modify the theme’s required scripts since a few were not set correctly.
Note that some plugins and themes may not work correctly due to incorrectly set script dependencies – most script issues can be corrected just by correcting them. Some others may be requiring the script to be available within the body of the page without checking or waiting – this should not be done, but some developers do this anyway. This plugin is design to encourage the use of dependency callbacks, deferred and asynchronous script execution.
Take a look at the documentation and download it today (can also be installed directly from within WordPress):