No longer using window.history.state which apparently isn't always available (Safari 5).