Added loading icon spin.js