Add loading indicator

So that a user knows something is happening display a loading indicator
while the Ajax request is performed.