Development - Refresh of parent page
There should be a .tpl template file that goes along with your .php file. You can put the javascript in that file.

The files created for your form via civix and their locations are described here:
https://docs.civicrm.org/dev/en/latest/extensions/civix/#generate-form