started javascript for creating params file