updated link.js