Tidied up Ajax call and centered loading div