Moved loading files into the footing so the page feel like it loads faster.