moving some js to the end of the body for google analytics