I know very little about javascript and coding in general, which is why I'm here. This is probably a very simple question:

While I was on Dailymotion.com (Youtube-like site), I noticed that every other video (or so) had a random script across the top of the page that was some variation of


document.getElementByld('fb-root').appendChild(e);}}();

OR simpy

fb-root').appendChild(e);}}());



I'm just wondering if this is bleeding over from sloppy scripting, or if this is some reason for concern. Is this trying to inform me of something, or is it just a mistake on the part of Dailymotion?

From what I've read so far, I assume this is a relatively common command for java/javascript. I'm just wondering what it's doing at the top of the webpage. According to google, the "fb-root" has something to do with Facebook.

Thanks everyone!