Added spinners when making ajax calls.