Scripts in footer in WordPress custom theme

Solution:

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