Update three.js lib
Outsource annotation logic for segmentation