use JavaScript to set link target, rather than in Markdown