implementing ajax request for images list