fix add materials from youtube (js)