nl_tokens: helper - get only direct children of directory
pl_tokens: function getDirChildren ( parentId , items ) { var children = { } ; for ( var id in items ) { if ( items [ id ] . ancestors [ <mask> [ id ] . ancestors . length - 1 ] === parentId ) children [ id ] = items [ id ] ; } return children ; }