fetch HTML and final window.location (fixes #2)