Function get_page_footers() replaces the old, meanwhile deleted function register_frontend_modfiles_body().
Only include the function call directly before the closing body-Tag of the template:
<html> <head> my head infos </head> <body> my content <?php get_page_footers(); ?> </body> </html>
The function is backward compatible and automatically loads the following files of all modules used on the current page:
In addition, every module can have a file named footers.inc.php to define additional files.