The underline does not get stuck in javascript, which relies on jquery. Thus, the default installation will not load the default jQuery in WordPress without installing it as a dependency when inserting a javascript file using wp_enqueue_script .
An example of loading bootstrap in underlining and loading jquery from WordPress
wp_enqueue_script('bootstrap', get_template_directory_uri().'/assets/javascripts/bootstrap.min.js', array('jquery'),'v3',true);
You can do the same with a jquery file from a CDN registered in WordPress
source share