adding in loading image to appear whilst the ajax works