add jquery and change some appearance to display the number of nodes of tree