TYPO3: Javascript at the bottom of your page
Yslow tells you to put your javascripts at the bottom of your pages. Normally when you include your JS files TYPO3 puts them in your head by default. To fix this you can easily:
Old style:
page.includeJS.file1 = file.js
Solution:
page.20 < lib.javascript
lib.javascript = HTML
lib.javascript.value = <script type="text/javascript" src="file.js"></script>
Note:
In this example I take it your content is in page.10
If you already use page.20 than just take a higher value.
It’s not posible (as far as I know) to put the default js at the bottom, this is core stuff.

Very nice and short snippet, thanks for posting
Isn’t there a default way of doing this from v4.3?
Correct, as of TYPO3 4.3 you can use the following TypoScript:
page.includeJSFooter.file1 = file.js