Use dynatree 1.2.4 + remove JQuery Migrate.