update to three.js r66.

also added documentation comments.