AJAX should only set module data if the module exists. Also wasn't setting $bigtree["module"].