Every time requestPage is called check window.location.