Remove redundant call to .replace() in url.js

Thanks to @errorx666 for the bug report, #869