moved script tags into head, added google analytics
added title to legend, changed footer padding for chrome