rewirte pushstate event demo