Adds automatic copying of runtime.js and creation of main.html