Converting to youtube plugin - needs to be external js