When pasting new jQuery JS codes into your existing files (not external js), make sure to avoid overwriting this piece of code:
<script>
$(function () {
$(".questions").accordion();
$("#Chapters").tabs();
// Hover states on the static widgets
$("#dialog-link, #icons li").hover(
function () {
$(this).addClass("ui-state-hover");
},
function () {
$(this).removeClass("ui-state-hover");
}
);
});
</script>