Renamed onload.js to main.js