[loader] Fix language packs not registering themselves correctly on multiple YUI instances