It is easy to describe jQuery in WordPress. Even if a theme update comes, manage it as a separate, independent jQuery file so that the file will not be overwritten.