adds main.js file for require