Loading of data from AJAX streamlined