I see that you are loading jquery twice, so try removing this
<script src="/Layouts/en-us/js/jquery-ui.min.js" />
and save only -
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" />
then use the code below instead of your function (check the changes to this function first, then try removing this jquery-ui.min.js)
$( document ).ready(function() {
$("#tabs").tabs();
if ($("#ListBoxPages").val() == null) {
$("#tabs").css("display", "none");
}
$("#ListBoxPages").change(function () {
$("#tabs").css("display", "block");
});
});
source
share