fix onpopstate event is not fired when load google js