I think it should work if you move the google jQuery reference:
<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>
to the top of the page and don't add the ScriptLibrary/jquery-latest.pack.js reference:
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
that one is attaching jQuery v1.10.2, whereas the ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js library is jQuery v1.11.1