Creating files for JS