tree js init