- now the new units are nested to first created unit by default
- altered some code to make the customizable unitname possible for jstree