add pushstate&replacestate event