Spent 2h looking at a weird problem with p5js.
Thing you should know.
+ method overload is not a good idea in a language with no type.
+ J's will absolutely let you load the same library twice and of course they'll be just slightly incompatible.
+ Using "is" to check the type of an object in JavaScript is the worst possible Idea.