add support for three.js (r58)