move scripts to bottom of body, add google analytics