move ga to html head

see https://support.google.com/analytics/answer/1008080?hl=en