Fix links in JS