Update index.js

changed output directory of the generated files.