adding the right main.js