2 weeks later but I was able to implement my own physics engine with pure JS. Now I need to finish fleshing it out, add support for collisions between dynamic objects and properly calculate stuff for circles.