A friend and I are developing a game using WebGL and after looking for some physics engines I discovered ammo.js which is a port or the bullet physics library. We implemented a simple example and quickly discovered that the framerate on google Chrome is horrible compared to Firefox or Safari. I'm talking chrome gets 10 FPS where firefox gets to quite constant 60 FPS.
After researching a lot I discovered this blog expliaining exactly what problem has Chrome with the library. (tl;dr: ammo.js uses dictionary objects which chrome discourages)
So my questions are: Is there a port of this library without using dictionaries? If not, is it worth it (or even feasible) to modify the original C++ bullet code and re-port it? If none of the previous options are possible what physics engine in javascript would you recommend?
I know the choices are pretty limited here but I think it's worth the question.
Thanks.