At http://www.borbitsoft.com/ is my attempt to create a physics engine running on the gpu in the browser using WebGL.
All computations are done on the gpu through shaders driven from javascript.
You need a DirectX 11 capable video card and a browser which supports WebGL and some extensions
(see tests at home page).