Only render analytic codes in production (footer)

Also removed old commented code from home page