Add a progress indicator using spin.js