Make simple flexible javascript tree with expand/collaps nodes and search