implement roots-style dom-ready execution

http://www.paulirish.com/2009/markup-based-unobtrusive-comprehensive-dom-ready-execution/
remove empty sticky footer div from base.php