added viglink JS to the template to automate affiliate links.