Simple JS for generating links.