Fix for issue #72 - spinner was not always clearing after ajax request