Take these two lines from the bottom:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
and replace this line with those two lines at the top:
<script type='text/javascript' src='plugins/js/jquery.js'></script>