adding dependency on spin.js