Change target group in form

Following the link Individual Form Title possible? I could modify the form.js file by adding a new attribute with name = title as advised.
I could include a new field in the form to edit the subject of the ticket.

The resulting tickets appear with the subject as they are published in the form.

Change target group in form
Is it possible, in the same way, by modifying the form.js file to change the group?
I want to know what modification should be made in ‘form.js’ to change the destination group of the ticket. In other words, use another group other than the “Users” group
If the solution is not possible by modifying the form.js file, is there another way to achieve group change?