Rename main.js to mainSpin.js