make the ajax work for the bubble tree