Trying again ...

It's odd that you are manipulating the DOM after redirecting (setting window.location).