Importing external Javascript libraries into Generic Javascript View node

I need to use the external rendering library neovis.js, located in
[https://rawgit.com/neo4j-contrib/neovis.js/master/dist/neovis.js]

function draw() {
  var config = {
      container_id: "viz",
      server_url: "xxxxx",
      server_user: "xxxxx",
      server_password: "xxxx",  
  }
  
  var viz = new NeoVis.default(config);
  viz.render();
}

I’ve checked similar posts but could not find a solution. Actually the problem here demands creating an instance from an object/class in that library (and then, I don’t see how to use RequireJS).