spin.js

If you’re building web applications, spin.js is an excellent resource to add to your toolkit. You can dynamically create loading spinners with JavaScript. You no longer need to use a loading .GIF to accomplish this. The best part is that you can change the spinner speed, width, color, size, etc. on the fly, without the need for making a new .GIF.