js function added for product link to be activated when clicking product panel