CODE: update three.js
CODE: use toArray method
CODE: more to/fromArray simplifications