updated examples to work with new Three.js version