By doing this, you're effectively bypassing the internals of the YUI library to set up the proper active lang (including the event system associated with it).