move script block, ga script to outer of #wrap