} catch(e) { alert('The next error occured during processing the tree: \n\n' + e.message); } return this; function getStatus() { return status; }; }; })( jQuery, window );