I collect your problems:
1. The attribute of jquery-ui-theme should be jstreetheme
, NOT theme
2. your script would not be called on page load! change it to:
$(function(){
alert("ECHO..."); // check if script called on page load
$.subscribe('treeClicked', function(event, data) {
var item = event.originalEvent.data.rslt.obj;
alert('Clicked ID : ' + item.attr("id") + ' - Text ' + item.text());
});
});