You are absolutely right. My idea is to eventually have a RCloud.UI.notebook_tree object.

I don't know how MVC we'll be able to get using jqtree, but I'd like the UI bits (essentially things that touch the DOM) to live separately from the things that don't. I started putting those on RCloud.UI, but you're right that it made bigger mess of some things. The hope is that it's temporary.