reorganized a little to make xus.js smaller, fixed removeTree