work on ajax spinner