Define classes in any order

Let's see if ECMAScript Harmony can do this :joy:

package jet.core
{
    import jet.events.*;
    public class UIComponent extends EventDispatcher
    {
        // more
    }
}
package jet.events
{
    public class EventDispatcher
    {
        // more

        public function dispatchEvent(event:Event):Boolean
        {
            // somewhere, "if (this is UIComponent) for children..."
        }
    }
}

That isn't JavaScript, and I'm not sure what the goal is of this thread.