three.js example is incompatible with current version of three.js