fixed loading of scripts thanks to wait-on-lib package;fixed youtube videos loading