adding the loading stuff

* require spin.js