Update Index.cshtml

Reverting back to window.location in index.