Adjusting pushstate