Update window.location assignment to use href property
Merge pull request #2705 from colemanw/href

Update window.location assignment to use href property