Added loading indicator which displays when ajax request is in progress