Hello Stefano,
in order to put Javascript or CSS definitions from a module into the head section of your template, you simply need to call the register_frontend_m
odfile function in your template as described on the
help site. Then simply place a frontend.css or frontend.js file in the module folder and you are done.
Is this what you are after?
Regards Christian