b){if(typeof b=="function"){if(v[a])v[a](b);else o(s,a,b);delete e[a]}});j(e.plugins,function(a,f){f&&(q[a]=new b(a,f,d))});if(!e.plugins||e.plugins.controls===void 0)q.controls=new b("controls",null,d);q.canvas=new b("canvas",null,d);l=a.innerHTML...