Update google analytics code, delegate hasJS and googleSearchForm