fixed js tree