I enjoy using JQuery on my projects and find that I frequently end up including many javascript files in the header of my site's layout. Obviously not all the javascript files are uses on every page.
I was doing some optimization work on my home page this morning and noticed all the pages of unused code that were being downloaded. I'm wondering if there was a way or system to better manage these javascript files to prevent users from having to needlessly download so much code. Any advice? Does this even matter? Thanks.