Added spinner while ajax is processing