fixed spinner to submit immediately to ajax