Loads data from ajax calls