Move success logic from jQuery.Treenav to Nodes#tree.js