moves analytics code in the head tag, as suggested by google