Use consistently window.location.href instead of location.href

Change-Id: I43279c6219c58234046dbb8872ffe9ccd4f686cb
Merge "Use consistently window.location.href instead of location.href"