Added event-facilities to the autoloader, allowing to listen for when all required scripts have been loaded asynchronously