Use main.js instead of scripts.js