Clean up stripPushState
Formatting