JavaScript sucks and HTML rules I personally never use the CJ JS links, some people have JS disabled in their browsers so they don't see the banner/link.
Javascripts are good because your links will always be up-to-date. But like Kerosene said, if the customer has js disabled, you're screwed. HTML is probably safer, but just make sure they are up-to-date. Do routine checks to make sure the links are working.