added loading tree data via ajax; added random json tree generation