2
Javascript is not interpreted until full page load, so you may include it at the top and it still won't count until the page is fully loaded.
Therefore the best place is at the bottom, where it will also not slow down the page content loading, thus servicing your users.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."
Cusix Software