Quadratic decay lights

A few months ago I ran into the need of using lights with the "natural" quadratic intensity decay to simulate the effect produced by different arrays of point and spot lights. Then I found that three.js only supports linear decay. 
I worked on some modifications in the code that would not disrupt the current behaviour, so that I was able to have both types of light together in the same scene (quadratic and linear). 
Here you have the changes. As for me, the changes have been useful and now I'm done with it. However, if you think this is a worthy idea and plan to integrate it, I would be delighted to help out (at least some regression and performance testing would be needed).
You can find further explanations about the implementation in this article http://dofideas.com/?p=194 , and two working examples here: 
http://apps1.dofideas.com/content/apps/webgl_quadraticlights_solution_1_a/
and
http://apps1.dofideas.com/content/apps/webgl_quadraticlights_solution_1_b/