jQuery UI doesn't work unless you first declare the main jQuery library. If jQuery doesn't get loaded properly, jQuery UI will fail with the error you are getting.
You have two declarations, but the first one appears to ask for the right file (jquery.js), but from the wrong path and so jQuery isn't getting loaded. If you were to open your browser's developer tools (F12) and look at the "Network" tab, you'd most likely see that file request is returning with a 404 error.
It's also important to note that the version of jQuery UI you reference has a dependency on a certain version of jQuery. If you are not referencing the correct jQuery version, that could cause the error as well.
If you do need to use jQuery UI, you need this (adjust for your versions though and note that type=text/javascript
and language=javascript
haven't been needed in many years.):
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
You can get the correct Content Delivery Network (CDN) paths here:
But, if you are not using jQuery or jQuery UI in the page then remove both those lines.