The same JS is in restore_form.html too.
Just noting: The page in question is no longer being used however has not been deleted as Eloy is still working on backup and restore.
Resolving this issue, all .html files will be removed shortly
The same JS is in restore_form.html too.