Added the loading animation

I have added a loading animation which may be used for AJAX requests or on clicking a button.