using ajax request to data files