Use commonplace polyfill for window.location.origin (bug 1094175)

See also https://github.com/mozilla/commonplace/compare/v0.6.1...v0.6.43

Planning on splitting the JS modules away from the repo so we don't have to match the npm and bower versions.