Add spinner for jQuery ajax calls, closes GH-31