moved analytics script to end of body