Made footer for home page.
Before moving 'var ctx' to global namespace.