Adds pushstate support