I have to make changes also to the file footer.php and header.php, to insert banners. In the same way, I could change the functions.php file to insert the jquery function. If the theme is updated, I rarely redo the changes after each update, otherwise, if the updates are frequent, I will have to create a child theme … what do you say?