Revert "Temporarily removed BROWSER dependency for toURI implementation to workaround mishoo/UglifyJS2#357."

This reverts commit 2e5ea2a5949dc9c1d7b03f993c92921f260f5fc1.