fix a few links in js