main.js generated