bugfix lib tree filter + using jade template for lib-tree dynamic creation