Update and rename main.trash to main.js