adding spinner from wp to title when ajax call happens and remove when done