don't use nonstandard window.location.origin in customizer JS; fixes #11317
Merge pull request #11336 from twbs/fix-11317

don't use nonstandard window.location.origin in customizer JS