trim space like \s+$
add accordion interface and some template.
there is not testcase.
modify ui.js app.js accordion.js
treeList.html use those js files.