Fix preview image JS for youtube links