trying to fix javascript listtree issue