Scripts to the bottom

Loading and parsing large JS files can block loading or add jank, so all JS should happen at the bottom of the page.