fixed copy main.js file