add event handler for awesome tree
modify the example page