RequireJS wrapper that allows tracking the number of script loads in progress