Get rid of unnecessary files
Copy main.js into the public dir in the build