fix to url.js