Camera Zoom To Fit Object

That code does not work. Box3.getSize() needs a Vector3.
This is a better solution:
Cracking the three.js object fitting (to camera) nut | Wejn.org