Instructions on how to use external library on PsychoJS

Can you give me instructions on how to use external libraries on PsychoJS? There are JS packages that I find very useful such as mathjs and fs, but I don’t know how to use them in PsychoJS.