There is a new version of this project written in TypeScript. https://github.com/flyover/box2d.ts
A JavaScript port of Erin Catto's 2D physics library Box2D including Google's LiquidFun
https://cdn.rawgit.com/flyover/box2d.js/master/Box2D/Build/Testbed/index.html