vimwiki

Link javascript to html

<head>
  <sript src="js_file.js"></script>
</head>

To load it after the the DOM is created, add the defer keyword.

<head>
  <sript src="js_file.js" defer></script>
</head>