removeing spinner on successful ajax changes
 ajax error shows the error in the log