Load the tree and the WYSIWYG editor after the DOM content is loaded (xwiki:dom:loaded) to allow their resources to be fetched in parallel.