Local change to jquery.url, to support r.js.