Add url property in sidebar to simplify dynamic load

Hello,
Thank you for your work on w2ui !

Add URL property and related functions on sidebar class to load dynamically nodes in sidebar.
What do you think about this functionality ?

Have you tips and sample to do that in php ?

For the moment I do like that 

$.post( "test.php", 
		{cmd: "get-records"},
		function( data ) {
			var records = data.records;	
			var node = {id: "", text: ""};
						
			for (key in records) {
				   node['id'] = records[key].recid;
				   node['text'] = records[key].name;
				   w2ui['sidebar'].add('sidebar-id', node);
			}
			
			w2ui['sidebar'].refresh('sidebar-id');
		},
		"json");

Arnaud.