JS: create files for varying lambda