Rename mainscript to mainscript.js