switching to jquery for tally external link click loggin