Revert "hide loading animation on ajax complete"

This reverts commit c62f536843293d49c1ba635d515434547bd3f02b.