rename done.js -> generate.js