Fallback for browsers that don't support window.history.pushstate