both index and main.js changed