jquery plugin for spin.js