Enqueueing scripts and styles in functions.php, calling wp_head and wp_footer