restored spin.js contents