How to move WordPress default jQuery and jQuery UI into footer instead of head
// This goes in the theme function.php with the other registered scripts
wp_deregister_script( 'jquery' );
wp_register_script( 'jquery', includes_url( '/js/jquery/jquery.js' ), false, NULL, true );
wp_deregister_script( 'jquery-ui-core' );
wp_register_script( 'jquery-ui-core', includes_url( '/js/jquery/ui/widget.min.js' ), false, NULL, true );