HELP! How do I add this Javascript to my site?

I would like to add this effect as a background to a project I’m working on. Anyone know how I would go about this?

There’s some bug with this plugin. Someone reported it on the creators Github.