Rename main.js to main.ts