document.URL instead of browserify path