Modified PhysicsJS library