It might be interesting to provide a Settings section with your module so that users can checkbox the scripts they want to include in the output. Might even be interesting to uncheck eveything so that users can include the appropriates resources in their
specific templates if they want, instead of having them rendered on every pages.
And it would make an excellent module in the gallery. You could also create a CodePlex project to host it, and provide some documentation.
Can I also suggest you to follow our coding syntax conventions ?