Recursive tree: save to/load from localstorage function added