Improvements to master page, to prevent headache with other features.

Header and footer are no longer sticky, and will stay put at top and bottom of the browser.
JavaScript files should be moved to header, and order should be properly considered.