Reconfigure (literally) the requirejs setup, remove unused scripts and update to the latest versions