The best location to include all of your JS usualy is the very end of your body - right ahead of your closing body tag. Placing it there gives you faster page loading behavior. Refer to "Page" for inclusion: http://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Page/Index.html