[javascript] Using textures in THREE.js