There is a newer version with fixes

I just copied what is now on: https://github.com/mrdoob/three.js/blob/master/examples/js/loaders/ColladaLoader.js