Central Management of Javascript
<p>How do you manage Javascript content on a larger website? I'm especially struggling with various $(document).ready()'s and the fact that I need to juggle all those id ($('#id')) strings. I thought of combining the necessary $(document).ready() with each "module" that uses them but this results in visible speed degradation as I don't have my javascript at the bottom of each page anymore.</p>

<p>What is a good way to manage Javascript of a fairly large site efficiently and keep it easy to maintain?</p>
