Made header and footer more obvious.
Removed console.log (might have performance side effects).