This is the solution we used:
Tree panels work
Also the "createContextualFragment" issue is solved
And you do not need to change any Ext files

index file:
<!DOCTYPE html PUBLIC "-//W3C//DTD...