I wonder how simple it would be just to port over some of the physics code directly from JJ2 (or its plus equivalents, as the case may be). For me, the biggest hangup would probably be that it's javascript, but then you don't seem to mind that...
__________________
|