createScripts(name) {
        return `var mesh = this.getObjectByName('${name}');\n` +
            `var mixer = new THREE.AnimationMixer(mesh)\n` +
            `mixer.clipAction(mesh.geometry.animations[0]).play();\n\n` +
            `function update(clock, deltaTime) { \n    mixer.update(deltaTime); \n}`;
    }
JsonLoader
@author tengge / https://github.com/tengge1