this is defensive programming :/, that was the way loader was designed, this is not new, it requires copies of the global modules in case you have multiple YUI instances with different modules definition.