Remove spin.js dependency