Could this be reduced to `$('.search-field-wrapper').toggleClass('spinner', true /* false* /)`? See [toggleClass](http://api.jquery.com/toggleclass/).

This would eliminate the need for `ting_search_toggle_spinner`.