Revert "Bug 920752 - Make origin more flexible to fix browser case"

This reverts commit 29ffb50a702bfc61906ee9599a7b41b2b6505d25.