Add stub for window.location.origin

Not sure how I missed it the first time around, but here it is