Solution:
wp_head(); to header.php and wp_footer(); to footer.php and plugins can load js or css when they need.
wp_head();
wp_footer();