Root selection and ajax loader