MediaEmbed: tweaked some JavaScript [ci skip]