Update URLs in JS