Replace urls with their counterparts from urls.js