Rename main.js to mainLoop.js