fixed g.analytics and doctype init