Through cPanel I installed a free Let's Encrypt SSL certificate .
Corrected all the ways - changed from http to https. Reconfigured redirects in htaccess.
RESULT: the site has become secure - HTTPS
The PROBLEM is this: the jQuery library itself began to swear and give the error "SyntaxError: missing; before statement" . There was version 1.8.2. Put the last with CDN - 3.1.1. Put early versions ... The error did not go away. From the footer I threw it into the header, above all other libraries. All the same. The code is:
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> Please help solve the problem.