title: How can I hook on scripts and CSS into <head>?
body: <p>The thing with the module I am making is that it kind of generates a javascript snippet, so I cannot use an action to just hook that into the  section of the HTML since the action requires that I have a JS file (correct me if I am wrong). What are some ways for me to put a JavaScript snippet into the  tag? I was thinking of using a block, but I  am not sure what the block should be appended after and I have to consider that this will work with all themes.</p>