Move JavaScripts to the Footer in WordPress https://speedrak.com/how-to-move-javascripts-to-the-footer-in-wordpress/
Add below code to functions.php. It helps in GTMetrix speed testing.
More options here: https://speedrak.com/how-to-combine-javascripts-into-1-file/
// Custom Scripting to Move JavaScript from the Head to the Footer
function remove_head_scripts() {
remove_action('wp_head', 'wp_print_scripts');
remove_action('wp_head', 'wp_print_head_scripts', 9);
remove_action('wp_head', 'wp_enqueue_scripts', 1);
add_action('wp_footer', 'wp_print_scripts', 5);
add_action('wp_footer', 'wp_enqueue_scripts', 5);
add_action('wp_footer', 'wp_print_head_scripts', 5);
}
add_action( 'wp_enqueue_scripts', 'remove_head_scripts' );