Adjust JavaScript links.