Importing external Javascript libraries into Generic Javascript View node

I need to use the external rendering library neovis.js, located in

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

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).