Refactor AdminTree for jstree 3 support.