Create js input file from UI components